翻訳と辞書
Words near each other
・ Aspect
・ Aspect (computer programming)
・ Aspect (Dungeons & Dragons)
・ Aspect (geography)
・ Aspect (religion)
・ Aspect (trade union)
・ Aspect Co.
・ Aspect Enterprise Solutions
・ Aspect magazine
・ Aspect of music
・ Aspect ratio
・ Aspect ratio (aeronautics)
・ Aspect ratio (disambiguation)
・ Aspect ratio (image)
・ Aspect Television
Aspect weaver
・ Aspect-oriented programming
・ Aspect-oriented software development
・ AspectC++
・ Aspectism
・ AspectJ
・ Aspects (band)
・ Aspects of Anglo-Saxon Magic
・ Aspects of Christian meditation
・ Aspects of Love
・ Aspects of Love (novel)
・ Aspects of Physics
・ Aspects of Scientific Explanation and other Essays in the Philosophy of Science
・ Aspects of the Novel
・ Aspects of the Sensual World


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Aspect weaver : ウィキペディア英語版
Aspect weaver

An aspect weaver is a metaprogramming utility for aspect-oriented languages designed to take instructions specified by aspects (isolated representations of a significant concepts in a program) and generate the final implementation code. The weaver integrates aspects into the locations specified by the software as a pre-compilation step. By merging aspects and classes (representations of the structure of entities in the program), the weaver generates a woven class.
Aspect weavers take instructions known as ''advice'' specified through the use of pointcuts and join points, special segments of code that indicate what methods should be handled by aspect code. The implementation of the aspect then specifies whether the related code should be added before, after, or throughout the related methods. By doing this, aspect weavers improve modularity, keeping code in one place that would otherwise have been interspersed throughout various, unrelated classes.
==Motivation==
Many programming languages are already widely accepted and understood. However, the desire to create radically different programming languages to support the aspect-oriented programming paradigm is not significant due to business-related concerns; there are risks associated with adopting new technologies.〔Kiczales (October 2001), p.2〕 Use of an entirely new language relies on a business's ability to acquire new developers. Additionally, the existing code base of a business would need to be discarded. Finally, a business would need to acquire a new toolchain (suite of tools) for development, which is often both an expense in both money and time.〔Kiczales (October 2001), p.7〕 Primary concerns about roadmaps for the adoption of new technologies tend to be the need to train new developers and adapt existing processes to the new technology.〔Colyer (2003), p.6〕
To address these business concerns, an aspect weaver enables the use of widely adopted languages like Java with aspect-oriented programming through minor adaptations such as AspectJ which work with existing tools.〔Kiczales (October 2001), p.5〕 Instead of developing an entirely new language, the aspect weaver interprets the extensions defined by AspectJ and builds "woven" Java code which can then be used by any existing Java compiler. This ensures that any existing object oriented code will still be valid aspect-oriented code and that development will feel like a natural extension of the object-oriented language.〔Kiczales (June 2001), p.3〕 The AspectC++ programming language extends C++ through the use of an aspect weaver, offering the additional efficiency over AspectJ that is necessary for embedded systems while still retaining the benefits of aspect-oriented programming.〔Spinczyk (2002), p.1〕

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Aspect weaver」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.